import Vue from 'vue';
import {Calendar, Tabbar, TabbarItem, Tab, Tabs, Button, Toast, Dialog } from 'vant';
import {Switch, Cell, CellGroup,Swipe, SwipeItem, Lazyload, Popup, Sticky,ContactEdit,Form,Field,Loading } from 'vant'


Vue.use(Switch)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Calendar);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Lazyload);
Vue.use(Popup);
Vue.use(Sticky);
Vue.use(ContactEdit );
Vue.use(Form);
Vue.use(Field);
Vue.use(Button);
Vue.use(Loading);
Vue.use(Toast);
Vue.use(Dialog)

Vue.use(Lazyload, {
    lazyComponent: true,
});